package FactoryPattern;

import Model.ArtBook;
import Model.Book;

import java.util.Date;

public class ArtBookFactory implements BookFactory {
    @Override
    public Book createBook(String title, String author, String isbn, String genre, int pageCount, double price, Date publicationDate,double baseFine) {
        return new ArtBook(title, author, isbn, genre, pageCount, price, publicationDate,baseFine);
    }
}
